package com.sykj.qianxuezhan.server;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sykj.qianxuezhan.bean.ShopUser;
import com.sykj.util.reponse.ResultBody;
import java.util.List;

/**
 * @Author QianXuezhan
 * @Date 2020/7/18 23:39
 * @Description: TODO
 */

public interface ShopUserService extends IService<ShopUser> {

    /**
     * @Author QianXuezhan
     * @Date  2020/7/21  7:48
     * @Param
     * @return
     * @Description //TODO  查询店主信息
     **/
    List<ShopUser>  queryShopUserDz(ShopUser shopUser);

    /**
     * @Date:
     * @Description:  添加店主信息
     **/
    ResultBody saveShopUser(ShopUser shopUser);

    /**
     * @Date:
     * @Description:  向数据库中传入一个账号看是否有重复值
     **/
    ShopUser   queryCompare(String  account);

    /**
     * @Date:
     * @Description:  修改员工信息
     **/
    ResultBody  updateShopUserId(ShopUser shopUser);

    /**
     * @Description: 查询员工信息
     **/
    List<ShopUser>  queryShopUserYg(ShopUser shopUser);

    /**
     * @Description: 修改员工信息
     **/
    ResultBody  updateShopUserYg(ShopUser shopUser);


}
